home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / gengetopt-2.6.lha / gengetopt-2.6 / src / ggos.h < prev    next >
C/C++ Source or Header  |  2002-03-01  |  712b  |  30 lines

  1. /*
  2. This file is licensed to you under the license specified in the included file
  3. `LICENSE'. Look there for further details.
  4. */
  5.  
  6.  
  7. #ifndef _GENGETOPT_GGOS_H
  8. #define _GENGETOPT_GGOS_H
  9.  
  10. #ifdef HAVE_CONFIG_H
  11. #include "config.h"
  12. #endif
  13.  
  14. struct gengetopt_option
  15. {
  16.   char short_opt;
  17.   char * long_opt;
  18.   char * desc;
  19.   int type; /* values in `argsdef.h' */
  20.   int flagstat ;
  21.   int required;
  22.   struct gengetopt_option * next;
  23.   char * var_arg; /* canonized long_opt + "_arg" = argument var */
  24.   int default_given ; /* if a default is given */
  25.   char * default_string ; /* default value for this option, if string */
  26.   double default_num ; /* default value for this option, if numeric */
  27. };
  28.  
  29. #endif /* _GENGETOPT_GGOS_H */
  30.